

	{include template('header','common')}
	<script src="{THEME_STYLE_PATH}style/js/jquery.min.js"></script>
<link href="{THEME_STYLE_PATH}style/css/tellfriend.css" type="text/css" rel="stylesheet" />	
	<div id="Mainbox">
		<!--插入侧边栏-->
			{include template('sidebar_login','common')}
		<!--插入侧边栏-->
		<!--顶端公告-->
			{include template('top_advance','common')}

		<!--顶端公告-->
		<!--左侧-->
		<?php $userinfo = getuserinfo();?>
		<div style="float:left">
		{include template('recom_left','common')}
		
		</div>

		<!--左侧-->
		<!--右侧-->
		<div class="percenter_right">
			<div class="aboutper">
				<ul>
					<li class="a1">您好！<span class="g46">{$userinfo[nickname]}</span>，欢迎您回来！&nbsp;&nbsp;&nbsp;&nbsp;
					<span class="da3">最近登陆IP地址:{$userinfo[lastip]}&nbsp;&nbsp;&nbsp;
					最近登陆时间:<?php echo date("Y-m-d H:h:s",$userinfo[lastdate])?></span></li>
					<li class="a3">下线总数：{if $counts}{$counts}{else}0{/if}</li>
					<li class="a2">推荐好友总奖励：<span class="ofe"><b>{if $total_coin}{$total_coin}{else}0{/if}</b></span><img src="{THEME_STYLE_PATH}/style/images/ub.gif"/></li>
					<li class="a2">今日新增好友：<a href="{U('Member/Recommend/re_list')}" class="ofe"><strong>
					{if $re_userid}{$re_userid}{else}0{/if}</strong></a>&nbsp;个</li>
					<li class="a3">今日新增好友奖励：<span class="ofe"><b>{if $today_coin}{$today_coin}{else}0{/if}</b></span><img src="{THEME_STYLE_PATH}/style/images/ub.gif"/></li>
					<!--li class="a2">上月邀请有效好友：<strong class="ofe"></strong>&nbsp;个</li>
					<li class="a2">本月邀请有效好友：<strong class="ofe"></strong>&nbsp;个</li>
					<li class="a3">今日新增有效好友：<strong class="ofe"></strong>&nbsp;个</li-->
				</ul>
			</div>
			<!--div class="aboutper_acc"><a target="_blank" href="#/news/sys/849/"><img src="http://127.0.0.1/ad/tg70_654.jpg"/></a></div-->
			<div class="aboutper_acc">
				<p class="a1" style="margin-bottom:16px;">推荐好友奖励<!--span style="margin-top:1px;">成功推荐一个好友，即可获得<label class="ofe">300</label><img src="{THEME_STYLE_PATH}/style/images/ub.gif" style="margin-left:1px; vertical-align:-1px;" />&nbsp;奖励</span--></p>
				<p class="a2" style="overflow:hidden;">提现奖励 <span style=" float:right;"><a href="{U('Member/Recommend/re_four')}" class="b40link">4级好友的收益有多大？</a></span></p>
				<table width="654" border="0" cellpadding="0" cellspacing="1" bgcolor="#dedede" class="jltab">
				  	<tr>
						<td colspan="5" bgcolor="#ffffff" class="a6">我可以获得的奖励</td>
				  	</tr>
				  	<tr>
						<td bgcolor="#ffffff" class="a1 title">累积提现奖励</td>
						<td bgcolor="#ffffff" class="a2 title">一级好友</td>
						<td bgcolor="#ffffff" class="a3 title">二级好友</td>
						<td bgcolor="#ffffff" class="a4 title">三级好友</td>
						<td bgcolor="#ffffff" class="a5 title">四级好友</td>
				  	</tr>				  	
				  	<?php foreach ($config['cash_config'] as $key => $v) { ?>
				  	<tr>
						<td bgcolor="#ffffff" class="a1"><?php echo '满'.$key  ?>元</td>
						<td bgcolor="#ffffff" class="a2"><?php echo $v[1] ?><img src="{THEME_STYLE_PATH}/style/images/ub.gif" /></td>
						<td bgcolor="#ffffff" class="a3"><?php echo $v[2] ?><img src="{THEME_STYLE_PATH}/style/images/ub.gif" /></td>
						<td bgcolor="#ffffff" class="a4"><?php echo $v[3] ?><img src="{THEME_STYLE_PATH}/style/images/ub.gif" /></td>
						<td bgcolor="#ffffff" class="a5"><?php echo $v[4] ?><img src="{THEME_STYLE_PATH}/style/images/ub.gif" /></td>
				  	</tr>
				  	<?php } ?>
			  	</table>
			</div>
		</div>
		<!--右侧-->
		<div class="clear"></div>
	</div>
	<!--主体-->
	<!--尾部-->
			{include template('footer','common')}

	<!--尾部-->
</body>
</html>
